import request from "@/utils/request";

/**查询sim卡列表 */
export function listSimCard(params) {
  return request({
    url: "/zk/simCard/list",
    method: "get",
    params: params,
  });
}

/**新增sim卡列表 */
export function addSimCard(data) {
  return request({
    url: "/zk/simCard",
    method: "post",
    data: data,
  });
}

/**根据num获取simCard信息 */
export function getByNum(num) {
  return request({
    url: "/zk/simCard/" + num,
    method: "get",
  });
}

/**修改simCard信息 */
export function editSimCard(data) {
  return request({
    url: "/zk/simCard/",
    method: "put",
    data: data,
  });
}

/**删除simCard信息 */
export function removeSimCard(ids) {
  return request({
    url: "/zk/simCard/" + ids,
    method: "delete",
  });
}

export function getSimSortList() {

  return request({
    url: "/zk/simCard/getSimSortList",
    method: "get",
  });
}
